<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <title>{<$site_name>}-我的订单</title>
    <link href="{<$css_url>}reset.css" rel="stylesheet" type="text/css" />
    <link href="{<$css_url>}layout.css" rel="stylesheet" type="text/css" />
    <link href="{<$css_url>}tabs.css" rel="stylesheet" type="text/css" />
    <script type="text/javascript" src="{<$js_url>}jquery.js"></script>
    <script type="text/javascript" src="{<$js_url>}common.js"></script>
</head>
<body>
<div id="wrap">
  <!--header start-->
  {<include file="v1/header.tpl">}
  <!--header end-->
  <!--menu start-->
  {<include file="v1/menu.tpl">}
  <!--menu end-->

  <div id="main">
  {<include file="v1/member_left.tpl">}
  <div id="content">
	
 <div class="h1content">
  <h1><span>历史成交</span><em>Orders History</em></h1>
  <div class="h1content_mid">
    <table class="myorder">
        <tr>
            <th>订单号</th>
            <th>产品</th>
            <th>价格(元)</th>
            <th>我的提成</th>
            <th>操作</th>
        </tr>
        <tbody>
        {<if $orders>}
        {<foreach from=$orders item=order>}
        <tr>
            <td>{<$order.order_id>}</td>
            <td>{<$order.p_name>}</td>
            <td>{<$order.real_price>}</td>
            <td class="red_font">{<$order.member_discount>}</td>
            <td><a href="/order/detail/{<$order.order_id>}">详情</a></td>
        </tr>
        {</foreach>}
        {<if $page_html>}<tr><td colspan="11">{<$page_html>}</td></tr>{</if>}
        {<else>}
        <tr><td colspan="11">你暂时没有历史成交记录</td></tr>
        {</if>}
        </tbody>
    </table>
  </div>
  <div class="h1content_bot"></div>
  </div><!--h1content end-->

  </div><!--content end-->
  <div class="blank10"></div>
  </div><!--main end-->
  <!--footer start-->
  {<include file="v1/footer.tpl">}
  <!--footer end-->
</div>
<!--wrap end-->
</body>
</html>
